<!doctype html>
<html> 
 <head> 
  <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f0f0f0;
            text-align: center;
            padding: 20px;
        }
        h1 {
            color: #ff5722;
        }
        div {
            background-color: white;
            padding: 15px;
            border-radius: 10px;
            margin-top: 20px;
        }
        button {
         background-color: #4CAF50;
         color: white;
         padding: 10px 20px;
         border: none;
         border-radius: 5px;
         cursor: pointer;
     }
     button:hover {
         background-color: #45a049;
     }
    </style> 
  <meta charset="UTF-8"> 
  <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
  <title>我的第一个网页</title> 
 <style type="text/css" id="dcoder_stylesheet">button {
         background-color: #4CAF50;
         color: white;
         padding: 10px 20px;
         border: none;
         border-radius: 5px;
         cursor: pointer;
     }
     button:hover {
         background-color: #45a049;
     }</style></head> 
 <body> 
  <h1> 你好，珊瑚哥！ </h1> 
  <div>
    我创建了第一个网址，快夸我 , 
   <br> have fun. :) 
  </div> <button onclick="showAlert()">点这个点这个</button> 
  <script>
        function showAlert() {
            alert("厉不厉害，你就说~");
        }
    </script> 
 
<script type="text/javascript" id="dcoder_script">let counter = 0;
     function showAlert() {
         counter++;
         alert(`你是第 ${counter} 次点击按钮！`);
     }</script></body></html>